package com.zhihao.domain.rebate.model.aggregate;

import com.zhihao.domain.rebate.model.entity.BehaviorRebateOrderEntity;
import com.zhihao.domain.rebate.model.entity.TaskEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Jackson
 * @description 行为返利聚合对象
 * @create 2024-04-30 15:56
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BehaviorRebateAggregate {

    /** 用户ID */
    private String userId;

    /** 行为返利订单实体对象  用户返利流水表 */
    private BehaviorRebateOrderEntity behaviorRebateOrderEntity;

    /** 任务实体对象  task用作返利mq任务补偿 */
    private TaskEntity taskEntity;

}
